<%@ include file="/WEB-INF/jsp/includes.jsp" %>
<%@ include file="/WEB-INF/jsp/header.jsp" %>


<h2><fmt:message key="search.patients.title" /></h2>

<spring:url value="/patients" var="formUrl"/>
<form:form modelAttribute="patient" action="${fn:escapeXml(formUrl)}" method="get">
  <table>
    <tr>
      <th>
        <fmt:message key="search.patients.lastname" /><form:errors path="*" cssClass="errors"/>
        <br/> 
        <form:input path="lastName" size="30" maxlength="80" />
      </th>
      <th>
        <fmt:message key="search.patients.name" /><form:errors path="*" cssClass="errors"/>
        <br/> 
        <form:input path="name" size="30" maxlength="80" />
      </th>
       <th>
        <fmt:message key="search.patients.historynumber" /><form:errors path="*" cssClass="errors"/>
        <br/> 
        <form:input path="history" size="30" maxlength="80" />
      </th>
      
    </tr>
    <tr>
      <td><p class="submit"><input type="submit" value="<fmt:message key="search.patients.find" />" /></p></td>
    </tr>
  </table>
</form:form>


<%@ include file="/WEB-INF/jsp/footer.jsp" %>
